package cn.exrick.xboot.modules.Information.entity;

import cn.exrick.xboot.base.XbootBaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @author ZhangWei
 */
@Data
@Entity
@Table(name = "t_information")
@TableName("t_information")
@ApiModel(value = "信息管理")
public class Information extends XbootBaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "新闻标题")
    private String title;

    @ApiModelProperty(value = "图片地址")
    private String img;

    @ApiModelProperty(value = "新闻类型")
    private String type;

    @ApiModelProperty(value = "启用标识")
    private String flag;

    @ApiModelProperty(value = "内容")
    private String content;
}